package org.example.code;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Getter
public enum Code {

    REGISTER_SUCCESS(1),
    REGISTER_FAIL(-1),

    AUTH_SUCCESS(2),
    AUTH_FAIL(-2),

    NOT_REGISTER(0);

    private final int code;

    Code(int code){
        this.code = code;
    }

}
